package com.gxa.logistics.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.sql.Date;

@Data
@TableName("vehicle_mession")
public class Mession {
    @TableId(type = IdType.ASSIGN_UUID) // 配置第一个主键
    private String lpnum;

    @TableId(type = IdType.AUTO) // 配置第二个主键
    private Date date;

    private Integer times;
}
